<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> 
<html>
<head>
<title>start</title>
</head>
    <link id="editCss" rel="stylesheet" type="text/css" href="<%=path%>/css/right.css" />
<script type="text/javascript">
</script>
<style type="text/css">
<!--
#div1{
background-color:#000000;
height:400px;
width:400px;
display:none;
}
-->
</style>
<body>
<div class="tableBox" style="background:#556272;">
	<table border="0" cellspacing="0" cellpadding="0" style="width:100%;">
		<tr>
			<th>序号</th>
			<th>监控类型</th>
			<th>监控状态</th>
		</tr>
		<c:if test="${!empty monitorTypeList }">
		<c:forEach items="${monitorTypeList}" var="monitorType" varStatus="index">
		<tr>
			<td>${index.count}</td>
			<c:choose>
				<c:when test="${monitorType.isStart == 1}">
					<td>
						<a href="/zebra/customer/monitor/CustomerMonitorAction?method=toInner&monitorTypeId=${monitorType.id}">${monitorType.type}</a>
					</td>
					<td>
						启动
					</td>
				</c:when>
				<c:otherwise>
					<td>${monitorType.type}</td>
					<td>暂停</td>
				</c:otherwise>
			</c:choose>
		</tr>
		</c:forEach>
		</c:if>
	</table>
</div>
</body>
</html>
